import http from '@/utils/http'
 
export const getCartsApi = async (data)=>{
    let url = '/api/cartedit'
    return http.post(url,data)
}

export const getCategoryListApi = async (params) => {
    const url = '/api/catelist'
    return http.get(url, { params })
  }